<?php
declare(strict_types=1);

namespace app\common\model\delivery;

use think\Model;

class SellerCustomer Extends Model
{
    public static function add($towel_id,$store_id,$seller_id)
    {
        (new self())->where(['store_id'=>$store_id])->delete();
        (new self())->save(['store_id'=>$store_id,'towel_id'=>$towel_id,'seller_id'=>$seller_id,'commission_type'=>'month']);
    }
}
